import axios  from "axios";

const request = axios.create({
    baseURL: 'http://localhost:8061/api',
    timeout:5000
})

request.interceptors.response.use(res =>{
    return res.data.data
},err => Promise.reject(err))

export default request